package heap;

/**
 * @Author kaho
 * @create 2020/11/24
 */
public interface Heap<E> {

    int size();
    boolean isEmpty();
    void clear();
    void add(E element);
    E get();
    E remove();
    E replace(E element);
}
